/**********************************************************
 * ActionScript Development Tool 
 * Copyright (C) 2005 asdt.org 
 * 
 * http://www.asdt.org
 * http://sourceforge.net/projects/aseclipseplugin/
 *
 * This program is free software; 
 * you can redistribute it and/or modify it under the terms of 
 * the GNU General Public License as published by the 
 * Free Software Foundation; either version 2 of the License, 
 * or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License 
 * along with this program; if not, write to the 
 * Free Software Foundation, Inc., 
 * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
 * 
 **********************************************************/
package ca.scotthyndman.as2haxe.dom.visitor;


/**
 * Interface to be implemented by elements that can be traversed by a visitor.
 * 
 * @see <a href="http://en.wikipedia.org/wiki/Visitor_pattern">Wikipedia :
 *      Visitor Pattern</a>
 * @author Peter Schreiber
 */
public interface IVisitable {
	/**
	 * @param as2Visitor
	 *            The IAS2DOMVisitor that is traversing the dom
	 * @param recursive
	 *            visit the children of this element if any exist.
	 */
	public void accept(IVisitor as2Visitor, boolean recursive);
}
